/**
 * @file user model
 * @author fanxingguang
 *
 * 2016-06-07
 */

var mongoose = require('mongoose');
var articleSchema = new mongoose.Schema({
    title: String,
    subtitle: String,
    content: String,
    columnId: String,
    createdDate: Date,
    updateDate: Date,
    author: String,
    click: Number
});

module.exports = mongoose.model('articles', articleSchema);
